{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load ietf_filters static %}
{% block title %}Intellectual property rights disclosures{% endblock %}
{% block pagehead %}
    <link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block content %}
    {% origin %}
    <h1>Intellectual property rights disclosures</h1>
    <div class="my-3 alert alert-info">{% include "ipr/ipr_intro.html" %}</div>
    <p class="buttonlist">
        <a class="btn btn-primary" href="{% url "ietf.ipr.views.about" %}">Submit an IPR disclosure</a>
        <a class="btn btn-primary" href="{% url "ietf.ipr.views.search" %}">Search IPR disclosures</a>
        {% if user|has_role:"Secretariat" %}
            <a class="btn btn-primary"
               href="{% url 'ietf.ipr.views.admin' state='pending' %}">Administrative view</a>
        {% endif %}
    </p>
    <h2 class="mt-3" id="generic">General IPR disclosures</h2>
    {% include "ipr/ipr_table.html" with iprs=generic_disclosures %}
    <h2 class="mt-3" id="specific">Specific IPR disclosures</h2>
    {% include "ipr/ipr_table.html" with iprs=specific_disclosures %}
    <h2 class="mt-3" id="notify">Specific third-party IPR disclosures</h2>
    {% include "ipr/ipr_table.html" with iprs=thirdpty_disclosures %}
{% endblock %}
{% block js %}
    <script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}